import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserEntity } from '../user/entities/user.entity';
import { TokenEntity } from './entities/token.entity';
import { UserLastLoginEntity } from './entities/user.last.login.entity';
import { ToolsService } from '../shared/services/tools/tools.service';

@Module({
  imports: [TypeOrmModule.forFeature([UserEntity, TokenEntity, UserLastLoginEntity])],
  providers: [AuthService, ToolsService],
  controllers: [AuthController],
})
export class AuthModule {}
